package com.blrs.service.project.change.impI;

import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.blrs.domain.InternalDocument;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.blrs.mapper.ProjectChangeMapper;
import com.blrs.domain.ProjectChange;
import com.blrs.service.project.change.IProjectChangeService;

/**
 * 项目变更Service业务层处理
 * 
 * @author wangchao
 * @date 2023-12-06
 */
@Service
public class ProjectChangeServiceImpl implements IProjectChangeService 
{
    @Autowired
    private ProjectChangeMapper projectChangeMapper;

    /**
     * 查询项目变更
     * 
     * @param id 项目变更主键
     * @return 项目变更
     */
    @Override
    public ProjectChange selectProjectChangeById(String id)
    {
        return projectChangeMapper.selectProjectChangeById(id);
    }

    /**
     * 查询项目变更列表
     * 
     * @param projectChange 项目变更
     * @return 项目变更
     */
    @Override
    public List<ProjectChange> selectProjectChangeList(ProjectChange projectChange)
    {
        return projectChangeMapper.selectProjectChangeList(projectChange);
    }




    /**
     * 新增项目变更
     * 
     * @param projectChange 项目变更
     * @return 结果
     */
    @Override
    public int insertProjectChange(ProjectChange projectChange)
    {
        return projectChangeMapper.insertProjectChange(projectChange);
    }

    /**
     * 修改项目变更
     * 
     * @param projectChange 项目变更
     * @return 结果
     */
    @Override
    public int updateProjectChange(ProjectChange projectChange)
    {
        return projectChangeMapper.updateProjectChange(projectChange);
    }

    /**
     * 批量删除项目变更
     * 
     * @param ids 需要删除的项目变更主键
     * @return 结果
     */
    @Override
    public int deleteProjectChangeByIds(String[] ids)
    {
        return projectChangeMapper.deleteProjectChangeByIds(ids);
    }

    /**
     * 删除项目变更信息
     * 
     * @param id 项目变更主键
     * @return 结果
     */
    @Override
    public int deleteProjectChangeById(String id)
    {
        return projectChangeMapper.deleteProjectChangeById(id);
    }
}
